package cn.yh.register.client.hosp;

import cn.yh.register.vo.hosp.ScheduleOrderVo;
import cn.yh.register.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 调医院服务的feign客户端
 */
@FeignClient("service-hosp")
public interface HospitalFeignClient {

    @GetMapping("/api/hosp/inner/getScheduleOrderVo/{scheduleId}")
    ScheduleOrderVo getScheduleOrderVo(@PathVariable String scheduleId);



    @GetMapping("/api/hosp/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable String hoscode);
}
